﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI;

namespace ARS.Control.Interface
{
    public interface IDialog
    {


        string ShowInfo(Page page, Type type, string message, string title = "提示");
        string ShowAddInfo(Page page, Type type, int id, bool flag, string message = null);
        string ShowUpdateInfo(Page page, Type type, int id, bool flag, string message = null);

        string DataPaging_DelConfirm(Page page, Type type);

        string TreeListView_DelConfirm(Page page, Type type);


        void ShowInfo(string message, string title = "提示");
        void ShowAddInfo(int id, bool flag, string message = null);
        void ShowUpdateInfo(int id, bool flag, string message = null);

        
//        string DataPaging_DelConfirm();
//
//        string TreeListView_DelConfirm();
    }
}
